package com.example.springbootServiceNetwork.demos.web.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_menu_item")
public class MenuItem {
    @TableId(type = IdType.AUTO)
    private Integer id;//序号id
    private Integer menuId;//菜单id
    private String  parentId;//上级菜单id
    private String  parentCode;//上级菜单编码
    private Integer selectId;//选择id
    private String menuName;//菜单名称
    private String menuPurview;//访问权限
    private String menuIcon;//菜单图标
    private String iconType;//菜单图标类型
    private String menuPath;//菜单跳转路径
    private String param;//携带参数
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间
    private Integer menuStatus;//菜单状态
    private String selectIcon;//选中后图标
    private String menuColor;//菜单颜色或者样式类
}
